package com.hqd.ch03.v26.utils;

import com.hqd.ch03.v26.factory.ListableBeanFactory;

public abstract class BeanFactoryUtils {
    public static String[] beanNamesForTypeIncludingAncestors(
            ListableBeanFactory beanFactory, Class<?> type) {
        return beanFactory.getBeanNamesForType(type);
    }
}
